package com.yangquan.ayuan.deamonThread;

public class Test {
    public static void main(String[] args) {
        Thread thread = new Thread();
        // 线程在调用 {start} 前，设置线程为守护线程 daemon
        thread.setDaemon(true);
        thread.start();
    }
}